<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<p data-temp="yanle">hello world</p>


<script src="../../../jquery.min.js"></script>
<script>
    console.log($('p').data('name'));
    console.log($('p').data('temp'));
</script>

</body>
</html>